package com.example.apigateway.service;

import com.example.apigateway.dao.UserDao;
import com.example.apigateway.model.Agency;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author ：Anitaxiaofeng
 * @description：
 * @create 2018-06-23
 **/
@Service
public class AgencyService {

    @Autowired
    private UserDao userDao;

    public List<Agency>  getAllAgency() {
        return userDao.getAllAgency();
    }
}

